package com.java2207.group1.mapper;

import com.java2207.group1.pojo.Food;

import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface FoodMapper {
    List<Food> foodList(Map<String, Food> params);

    int updateFood(Food food);

    int addFood(Food food);

    int deleteFood(@Param("id") Integer id);

}
